﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp3
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            var uid = textBox2.Text;
            var pwd = textBox1.Text;
            var rpwd = textBox3.Text;
            //  string name = this.textBox2.Text;）
            //  string word = this.textBox1.Text;
            if (string.IsNullOrEmpty(uid) && string.IsNullOrEmpty(pwd) && pwd == rpwd) 
            {
                MessageBox.Show("注册成功");
                
                    }
           
       
            
        }
        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
